/*
 * @Author: muuzi@163.com muuzi@163.com
 * @Date: 2024-08-21 16:37:28
 * @LastEditors: muuzi@163.com muuzi@163.com
 * @LastEditTime: 2024-12-06 00:01:59
 * @FilePath: /mp-wechat/hooks/setting/index.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// import type { GlobConfig } from './config';

// import { getAppEnvConfig } from '@/utils/env';

// export const useGlobSetting = (): Readonly<GlobConfig> => {
//   const { VITE_GLOB_APP_TITLE, VITE_GLOB_API_URL, VITE_GLOB_API_URL_PREFIX, VITE_GLOB_UPLOAD_URL } =
//     getAppEnvConfig();

//   // Take global configuration
//   const glob: Readonly<GlobConfig> = {
//     title: VITE_GLOB_APP_TITLE,
//     apiUrl: VITE_GLOB_API_URL,
//     shortName: VITE_GLOB_APP_TITLE.replace(/\s/g, '_').replace(/-/g, '_'),
//     urlPrefix: VITE_GLOB_API_URL_PREFIX,
//     uploadUrl: VITE_GLOB_UPLOAD_URL,
//   };
//   return glob as Readonly<GlobConfig>;
// };
